<?php
$conf_path=rtrim(APP_PATH,"/")."/Conf/";
$dataconf=include $conf_path."dataconf.php";//数据库,系统安全相关设置
$routeconf=include $conf_path."routeconf.php";//URL路由规则配置
$cmsmode = array(
    'core' => array(
        THINK_PATH.'Common/functions.php', // 标准模式函数库
        CORE_PATH.'Core/Log.class.php',    // 日志处理类
        CORE_PATH.'Core/Dispatcher.class.php', // URL调度类
        CORE_PATH.'Core/App.class.php',   // 应用程序类
        CORE_PATH.'Core/Action.class.php', // 控制器类
        CORE_PATH.'Core/View.class.php',  // 视图类
        //MODE_PATH."TagLibCms.class.php",//自定义标签库
    ),
    'config' => array_merge($dataconf,$routeconf)
);
return $cmsmode;
